package org.geektimes.projects.user.management;

import org.geektimes.projects.user.management.Description;

/**
 * Created with IntelliJ IDEA.
 * Description:
 *
 * @Author: menglinggang
 * @Date: 2021-03-16
 * @Time: 10:13 下午
 */
public class TargetObject implements Description {

    private String name;

    private int type;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "TargetObject{" +
                "name='" + name + '\'' +
                ", type=" + type +
                '}';
    }

    @Override
    public String getDescription() {
        return this.getClass().getName() + " mxbean test";
    }
}
